home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
H-I
/
HyperHackers.cpt
/
Hyper-Hackers Queue 1.0
/
card_24038.txt
< prev
next >
Wrap
Text File
|
1989-02-26
|
2KB
|
47 lines
-- card: 24038 from stack: in.0
-- bmap block id: 0
-- flags: 0000
-- background id: 3797
-- name:
-- part contents for background part 1
----- text -----
From: cca@pur-phy (Charles C. Allen)
Date: 1 Mar 88 16:04:58 GMT
> So, in a never ending battle to figure out what the heck you meant,
> the HyperTalk interpreter guesses that you might forgotten a pair of
> quotes, and transforms the line into...
How helpful. Any interpreter/compiler which silently changes the
meaning of the source provided to it is going to frustrate many, many
programmers. Me included (I've been bitten by this "feature" before).
> I call the above construction an "unquoted literal". It let's you
> do things like...
> [stuff deleted]
> Here are a couple rules of thumb:...
Sigh. Whatever happened to simplicity as a goal for programming
languages? Just REQUIRE the silly "'s, get rid of unquoted literals,
and all this would become moot. I simply can't believe that simpler
is not better in this case.
On a related note, I would like to see required declarations for all
variables (global variables have to be declared, I just want to extend
that to local variables as well). The script could be checked for
consistency when OK is clicked. The next step would be an incremental
compiler....
While I'm dreaming, I'd also like to see variables which have a scope
for the script they're declared in (card variables in the card script,
button variables in the button script, etc.).
-- part contents for background part 45
----- text -----
Re: HyperCard bug  <- No, it's a feature.